﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AdminInfoUserDelay.aspx.vb" Inherits="QLThuVien.AdminInfoUserDelay" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <script type="text/javascript">
       function changeTextGT(s, e) {
           var str = lbl_gioitinh.GetValue();
           if (str == "True") {
               lbl_gioitinh.SetText("Nam");

           } else {
               lbl_gioitinh.SetText("Nữ");

           }
       }
   </script>
    <link href="../assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/font-awesome.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
          <asp:DataList ID="datalist_infodocgia" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
        <ItemTemplate>
       
            <table width="100%">
                <tbody class="col-lg-12">
                    <tr style="padding-bottom:5px;">                  
                        <td class="col-lg-6">  
                        <div class="form-group">
                            <span class="label label-primary">Tài Khoản:</span>
                             <%# Eval("taikhoan")%>                    
                        </div>
                        <div class="form-group">
                            <span class="label label-primary">Tên:</span>
                             <%# Eval("ten")%>
                        </div>
                        <div class="form-group">
                            <span class="label label-primary" >Giới Tính:</span>
                            <dx:ASPxLabel ID="lbl_gioitinh"  ClientInstanceName="lbl_gioitinh" runat="server" Text='<%# Eval("gioitinh")%>' Font-Size="Small">
                            <ClientSideEvents Init="changeTextGT" /> 
                            </dx:ASPxLabel>
                            
                        </div>                       
                        </td>

                        <td class="col-lg-6">
                        <div class="form-group">
                            <span class="label label-primary">Số Điện Thoại:</span>
                             <%# Eval("sdt")%>
                        </div>
                        <div class="form-group">
                            <span class="label label-primary">Địa Chỉ:</span>
                             <%# Eval("diachi")%>
                        </div>
                            
                        </td>
                        <td class="col-lg-6 col-sm-3">
                            <dx:ASPxImage ID="img_docgia" runat="server" ShowLoadingImage="true" EmptyImage-Url="~/img/noImgDocGia.png" Height="160px" Width="170px" ImageUrl='<%#Eval("hinh")%>'>
                            </dx:ASPxImage>
                        </td>
                    </tr>       
                </tbody>
            </table>
            </ItemTemplate>
            </asp:DataList>
    </div>
    </form>
</body>
</html>
